//
//  ios_File.mm
//  Prism
//
//  Created by Bas du Pre on 21-05-11.
//  Copyright 2011 UU. All rights reserved.
//

#include "global.h"
#if PRISM_OS_IOS
#include "ios_global.h"

#include "File.h"

Prism::String Prism::File::native_getResourcesPath() {
    NSString *bundlePath = [[NSBundle mainBundle] resourcePath];
    return Prism::String([bundlePath cStringUsingEncoding: [NSString defaultCStringEncoding]]);
}


#endif